import icGift from "./images/ic_gift.png";
import icFold from "./images/ic_gold.png";

export interface PrizeItemType {
  icon: string; // 奖品图片
  name: string; // 奖品名称
  isPrize: number; // 该奖项是否为奖品,0为没中奖
  weight: number; // 权重
  // 自定义配置
  meta?: {
    [index: string]: any;
  };
}

export const defaultPrizeList: PrizeItemType[] = [
  {
    icon: icGift,
    name: "宝箱",
    isPrize: 1,
    weight: 1,
    meta: {
      type: 1, // 1为宝箱
    },
  },
  {
    icon: icFold,
    name: "金币",
    isPrize: 1,
    weight: 1,
    meta: {
      type: 2, // 2为金币
    },
  },
  {
    icon: icGift,
    name: "宝箱",
    isPrize: 1,
    weight: 1,
    meta: {
      type: 1, // 1为宝箱
    },
  },
  {
    icon: icFold,
    name: "金币",
    isPrize: 1,
    weight: 1,
    meta: {
      type: 2, // 2为金币
    },
  },
  {
    icon: icGift,
    name: "宝箱",
    isPrize: 1,
    weight: 1,
    meta: {
      type: 1, // 1为宝箱
    },
  },
  {
    icon: icFold,
    name: "金币",
    isPrize: 1,
    weight: 1,
    meta: {
      type: 2, // 2为金币
    },
  },
  {
    icon: icGift,
    name: "宝箱",
    isPrize: 1,
    weight: 1,
    meta: {
      type: 1, // 1为宝箱
    },
  },
  {
    icon: icFold,
    name: "金币",
    isPrize: 1,
    weight: 1,
    meta: {
      type: 2, // 2为金币
    },
  },
];
